import { EnumplatFrom } from "../Sdk/EnumplatFrom";
import SdkTool from "../Sdk/SdkTool";

export default class UrlEnum {
    // public static openUrl: string = `https://login.superzero.fun/`;
    public static socketip: string = `ws://ip:port`;
    public static httpUrl: string = `https://logic.superzero.fun/`;
    public static get resUrl(): string {
        if (SdkTool.ins.platform == EnumplatFrom.PC) {
            return `http://59.110.34.201:8090/`;
        } else {
            return `https://plane.superzero.fun/`;
        }
    }
    public static get imageUrl(): string {
        return UrlEnum.resUrl + "res/image/";
    }
    public static get spineUrl(): string {
        return UrlEnum.resUrl + "res/spine/";
    }
}